Global Index
HTML5 JS API Index > CSS Object Model Tutorials & Specs

Document

This page describes CSS Object Model extensions to the origial Document type.

Properties
DOMString?
lastStyleSheetSet
The lastStyleSheetSet attribute must return the last CSS style sheet set name.
DOMString?
preferredStyleSheetSet
The preferredStyleSheetSet attribute must return the preferred CSS style sheet set name.
DOMString?selectedStyleSheetSet
StyleSheetList
styleSheets
The styleSheets attribute must return a StyleSheetList collection representing the document CSS style sheets.
DOMString[]
styleSheetSets
The styleSheetSets attribute must return a read only array of the CSS style sheet set names of the CSS style sheet sets, in order of the document CSS style sheets. The array is live; if the document CSS style sheets change, the array must be updated as appropriate.
Operations
voidenableStyleSheetsForSet(DOMString? name)